<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<body>
    <!-- 侧边栏 -->
    <nav class="sidebar" th:fragment="sidebar">
        <div class="sidebar-header">
            <h5 class="mb-0">回收员工作台</h5>
            <small th:text="${collector != null ? collector.realName : '回收员'}">回收员</small>
        </div>
        <div class="nav-menu">
            <div class="menu-label">工作台</div>
            <a class="nav-link" href="/collector/dashboard">
                <i class='bx bxs-dashboard'></i> 数据概览
            </a>
            
            <div class="menu-label">订单管理</div>
            <a class="nav-link" href="/collector/orders/pending">
                <i class='bx bxs-bell'></i> 待处理订单
            </a>
            <a class="nav-link" href="/collector/orders/processing">
                <i class='bx bxs-hourglass'></i> 进行中订单
            </a>
            <a class="nav-link" href="/collector/orders/completed">
                <i class='bx bxs-check-circle'></i> 已完成订单
            </a>
            
            <div class="menu-label">系统功能</div>
            <a class="nav-link" href="/collector/profile">
                <i class='bx bxs-user'></i> 个人中心
            </a>
            
            <div class="menu-label">其他</div>
            <a class="nav-link text-danger" href="/logout">
                <i class='bx bx-log-out'></i> 退出登录
            </a>
        </div>
    </nav>
</body>
</html> 